From: Florian Müllner Date: Thu, 20 Jan 2011 14:27:13 +0000 (+0100) Subject: dash: Hide item labels X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9073 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4d474e2f9ce30c1ac3feaa0e046c1a3db5a1dd4c;p=gnome-shell.git dash: Hide item labels With the current dash layout of a single column, nearly every icon label ends up ellipsized, even at the largest allowed icon size. Not showing any labels appears to be the cleanest approach in this case, so disable them in the dash. https://bugzilla.gnome.org/show_bug.cgi?id=636156 --- diff --git a/js/ui/dash.js b/js/ui/dash.js index 0ddae0b2c..86dfacdda 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -26,6 +26,7 @@ RemoveFavoriteIcon.prototype = { this._iconActor = null; this.icon = new IconGrid.BaseIcon(_("Remove"), { setSizeManually: true, + showLabel: false, createIcon: Lang.bind(this, this._createIcon) }); this.actor.set_child(this.icon.actor); this.actor._delegate = this; @@ -192,7 +193,8 @@ Dash.prototype = { _addApp: function(app) { let display = new AppDisplay.AppWellIcon(app, - { setSizeManually: true }); + { setSizeManually: true, + showLabel: false }); display._draggable.connect('drag-begin', Lang.bind(this, function() { display.actor.opacity = 50;